Previous Book Contents Book Index Next

Inside Macintosh: Open Transport /


Chapter 6 - Configuration Management

This chapter describes Open Transport functions that initialize Open Transport, configure a provider, and provide information about the ports available on your computer.

You need to read this chapter if your application wants to use Open Transport or open a provider because in the former case, you must initialize all or some
of Open Transport, and in the latter case, you must create a provider configuration. In addition, if your application has the ability to switch ports, you need to be able to obtain port information.

This chapter discusses

This chapter begins by introducing the basic concepts of provider configuration and port information, then gives the details of how to initialize Open Transport, how to find a specific port and extract information about it, and how to register your application as an Open Transport client.


Chapter Contents
About Provider Configurations
About Port Information
Using the Configuration Functions
Determining Whether Open Transport Is Available
Initializing Open Transport
Using Open Transport From a Client Application
Using Open Transport From a Stand-Alone Code Segment
Creating and Reusing Provider Configurations
Obtaining Port Information
Requesting a Port to Yield Ownership
Registering as an Open Transport Client
Configuration Management Reference
Constants and Data Types
The Gestalt Selector and Response Bits
Port-Related Events
The Configuration Structure
The Port Structure
The Port Reference
The Client List Structure
The Port Close Structure
Functions
Initializing and Closing Open Transport
Creating, Cloning, and Removing a Configuration Structure
Getting Information About Ports
Requesting a Port to Yield Ownership
Registering as a Client

Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 AUG 1996